package com.wyz.socket.core.api;

import com.wyz.socket.core.base.IoArgs;

import java.io.Closeable;
import java.io.IOException;

public interface Receiver extends SocketHelper {

    void setReceiveListener(IoArgs.IoBufferEventProcessor processor) ;

    void postReceiveAsync() throws Exception;

    void stopAsync() throws IOException;
}
